import { get, post } from "../utils/request";

export function login(params) {
  return post("/mini/v1/login/login", params);
}

//
export function getUserInfo(params) {
  return get("/mini/v1/sysUser/userInfo", params);
}

//  修改用户
export function updateUserInfo(params) {
  return post("/mini/v1/sysUser/updateUserInfo", params);
}

export function selectSysUserById(params) {
  return get("/mini/v1/sysUser/selectSysUserById", params);
}

export function register(params) {
  return post("/mini/v1/login/register", params);
}

export function getAddr(params) {
  return get("/mini/v1/enum/getAddr", params);
}

export function updateUser(params) {
  return post("/mini/v1/sysUser/updateUser", params);
}

export function selectUserInfo(params) {
  return get("/mini/v1/sysUser/selectUserInfo", params);
}






